<div class="legend">关联信息</div>
<div class="search-content" >
	<div class="form-group" ng-repeat="(key,item) in userList">

		<div class="col-md-3 input-error-info"  >
			<label class="control-label">关联关系：</label>
			<select class="form-control" ng-model="item.relation" ng-change="spider.category(item)">
				<option value="">--请选择--</option>
				<option ng-repeat="row in typeDataone" ng-selected="row.name == item.relation" value="{{row.name}}" ng-bind="row.name | cnRelationList:'Relation'"></option>
			</select>
		</div>
		<div class="col-md-4 input-error-info" >
			<label class="control-label">资源类型：</label>

			<select class="form-control" ng-model="item.targetCategory" ng-change="spider.loadres(item)">
				<option value="">--请选择--</option>
				<option ng-repeat="row in item.typeDatatwo" ng-selected="row.name == item.targetCategory" value="{{row.name}}" ng-bind="row.name | cnRelationList:'Resource'"></option>
			</select>
		</div>
		<div class="col-md-4 input-error-info"  ng-show="!isDetail">
			<label class="control-label">目标资源：</label>
			<select class="form-control" ng-model="item.type" >
				<option value="">--请选择--</option>
				<option ng-repeat="row in item.typeDataThree" ng-selected="row.name == item.targetName" value="{{row}}" ng-bind="row.name"></option>
			</select>
		</div>
		<div class="col-md-1">
			<button type="button" class="btn btn-xs w-3x btn-danger m-t-sm" ng-click="spider.removeGroup(key)"><i class="fa fa-minus"></i></button>
		</div>
	</div>
	<button type="button" class="btn w-md btn-info m-l m-b-sm" ng-click="spider.addGroup()"><i class="fa fa-plus"></i></button>

</div>